package com.jiaozi.core.exception;

import com.jiaozi.base.utils.bean.enums.REnum;
import com.jiaozi.base.utils.bean.enums.REnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 自定义
 * 通用异常
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonException extends RuntimeException {
    /**
     * 异常码
     */
    private REnum rEnum;

    /**
     * 异常信息
     */
    private String exceptionMessage;


}
